package com.ytrsoft.ws;

import com.ytrsoft.task.ActionFactory;
import com.ytrsoft.utils.ProcessManager;

public class CmdSocket extends BaseSocket {

    private ProcessManager manager;

    public ActionFactory<CmdSocket> getFactory() {
        return new ActionFactory<>(this);
    }

    @Override
    protected void initialized() {
        manager = new ProcessManager(this);
        manager.start();
    }

    public ProcessManager getManager() {
        return manager;
    }
}
